
<div class="_line"  ></div>
<div class="_cut2"  ></div>
<div calss="content"  >

        
        <div class="order_my" style="margin:1rem 1%" >
            <span style="float: left"> 我的订单 </span>
            <span style="float: right"> <a href="<?php echo shop_buildUrl('/user/shop/payStatus?status=3') ?>" style='color:black' >查看全部订单 >>> </a></span>
        </div>
        <div class="_line" style="clear:both " >
        </div>
        <div class="_cut" style="height:2px;"  ></div>

        <div class="order_status" style="margin: 1rem 1rem">
            <div style="margin-left:5%;margin-right: 5%">
                <span style="width: 25%; text-align:center; float: left">
                    <a href="<?php echo shop_buildUrl('/user/shop/payStatus?status=0') ?>" ><img width="60%" height="60%" src="/public/images/loadingpay.png">
                    <br/>
                    <strong style='color:black' > 待付款 </strong></a>
                </span>
                <span style="width: 25%; text-align:center; float: left">
                    <a href="<?php echo shop_buildUrl('/user/shop/payStatus?status=1') ?>" ><img width="60%" height="60%" src="/public/images/loadinguser.png">
                    <br/>
                    <strong style='color:black' > 待使用 </strong></a>
                </span>
                <span style="width: 25%; text-align:center; float: right">
                    <a href="<?php echo shop_buildUrl('/user/shop/payStatus?status=2') ?>" ><img width="60%" height="60%" src="/public/images/complete.png">
                    <br/>
                    <strong style='color:black;' > 已完成 </strong></a>
                </span>
                <span style="width: 25%; text-align:center; float: right">
                    <a href="<?php echo shop_buildUrl('/user/shop/payStatus?status=4') ?>" ><img width="60%" height="60%" src="/public/images/evaluate.png"> <?php  if( $count != 0 ){ ?> <span class="_message" style='margin-left:-1rem;' ><?php echo $count; ?></span> <?php }?>
                    <br/>
                    <strong style='color:black;' > 待评价 </strong></a>
                </span>
            </div>
        </div>

       <div class="_line" style="clear:both"  ></div> 


</div>
 <div class="_cut" style="height:2px;clear:both"  ></div> 

<div class='box navbar-fixed ' >
    <button class="btn  "  type="button" id='about_me' style="background-color:#dddddd;width:100%;border-color:white;">提到我的<?php  if( $unread != 0 ){ ?> <span class="_message"  ><?php echo $unread ; ?></span> <?php }?>>></button>
   
</div>

<div class='box navbar-fixed ' >
    <button class="btn  "  type="button" id='coupon' style="background-color:#dddddd;width:100%;border-color:white;"> 我的优惠券 >>></button>
</div>
<div class='box navbar-fixed ' >
    <button class="btn  "  type="button" id='questionnaire' style="background-color:#dddddd;width:100%;border-color:white;"> 用户反馈 >>></button>
   
</div>
<div  style="height:2rem;clear:both"  ></div> 


        <div  style='float:left;width:38%;' ><hr></div>
        <span style='font-size:1.5rem'> 为 你 推 荐 </span>
        <div  style='float:right;width:37%;' ><hr></div>
        <?php foreach($items as $k=>$v){?>
        <?php if($k%2==0){ ?>
            <div class='row'>
                <?php   }?>
            
                <div class='thumbnail' style="float:left;width:50%">
                    <div style="overflow: hidden;">
                        <a target="_blank" href="<?php echo shop_buildUrl('/user/shop/info?item_id='.$v['id']);?>"><img class='_img' src="<?php echo 'http://'.IMAGE_DOMAIN_.$v['images'][0]['image'];?>" style='height:200px;'/></a>
                    </div>
                    <div>
                        <div ><?php echo $v['name'];?></div>    
                        <div ><i>价格：<font style='color:red;font-size:1.7rem'>￥<?php echo $v['price']/100;?></font></i></div>
                    </div>
                </div>
            
        <?php if(($k+1)%2==0 || $items[$k+1]['id']<1){   ?>
            </div>
        <?php } ?>
        <?php } ?>
       
<script type="text/javascript">
    $(document).ready(function (){
        $('#coupon').click(function(){
            window.location.href='<?php echo shop_buildUrl("/user/coupon/"); ?>';
        });
        $('#about_me').click(function(){
            window.location.href='<?php echo shop_buildUrl("/user/evaluate/unread"); ?>';
        });

        $('#questionnaire').click(function(){
            window.location.href='<?php echo shop_buildUrl("/center/questionnaire/suggest"); ?>';
        });
    })

</script>